<include file="application/admin/view/public/left.html"/>
 <div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>商品管理</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3><a href="{:U('Goods/add_goods')}" class="actionBtn add">添加商品</a>商品管理</h3>
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
    <tr>
        <th align="center">商品名称</th>
        <th align="center">商品图片</th>
        <th align="center">价格</th>
        <th align="center">库存</th>
        <th align="center">添加时间</th>
        <th align="center">操作</th>
    </tr>
    <volist name="list" id="vo" empty="$empty">
    <tr>
        <td align="center">{$vo.name}</td>
        <td align="center"><img src="{$vo.pic}" width="200px"/></td>
        <td align="center">商品价格：{$vo.all_money}<br/>报单价格:{$vo.money}</td>
        <td align="center">库存总数：{$vo.all_num}<br/>剩余总数：{$vo.shengyu_num}</td>
        <td align="center">{$vo.add_time|date="Y-m-d H:i:s",###}</td>
        <td align="center">
        <a href="{:U('Goods/add_goods',array('id'=>$vo['id']))}" >修改</a>
        <a href="{:U('Goods/del',array('id'=>$vo['id']))}" >删除</a>
        </td>
    </tr>
    </volist>
    </table>
</div>
</div>
<div class="clear"></div>
<include file="application/admin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html>